using System.Windows;
using System.Windows.Markup;

namespace ProjectView.Windows
{
	public partial class ProgramDeltTTWindow : Window, IComponentConnector
	{
		public static readonly DependencyProperty DeltTProperty = DependencyProperty.Register("DeltT", typeof(double), typeof(ProgramDeltTTWindow), new PropertyMetadata(0.0));

		public double DeltT
		{
			get
			{
				return (double)GetValue(DeltTProperty);
			}
			set
			{
				SetValue(DeltTProperty, value);
			}
		}

		public ProgramDeltTTWindow()
		{
			InitializeComponent();
		}

		private void btnOK_Click(object sender, RoutedEventArgs e)
		{
			base.DialogResult = true;
			Close();
		}

		private void btnCancel_Click(object sender, RoutedEventArgs e)
		{
			Close();
		}
	}
}
